package com.lekang.mapper;

import java.util.List;
import com.lekang.domain.NursingPlan_yyh;
import org.apache.ibatis.annotations.Mapper;

/**
 * 护理计划Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-13
 */
@Mapper
public interface NursingPlan_yyhMapper 
{
    /**
     * 查询护理计划
     * 
     * @param id 护理计划主键
     * @return 护理计划
     */
    public NursingPlan_yyh selectNursingPlan_yyhById(Long id);

    /**
     * 查询护理计划列表
     * 
     * @param nursingPlan_yyh 护理计划
     * @return 护理计划集合
     */
    public List<NursingPlan_yyh> selectNursingPlan_yyhList(NursingPlan_yyh nursingPlan_yyh);


    public List<NursingPlan_yyh> selectNursingPlan_yyhList2(NursingPlan_yyh nursingPlan_yyh);

    /**
     * 新增护理计划
     * 
     * @param nursingPlan_yyh 护理计划
     * @return 结果
     */
    public int insertNursingPlan_yyh(NursingPlan_yyh nursingPlan_yyh);

    /**
     * 修改护理计划
     * 
     * @param nursingPlan_yyh 护理计划
     * @return 结果
     */
    public int updateNursingPlan_yyh(NursingPlan_yyh nursingPlan_yyh);

    /**
     * 删除护理计划
     * 
     * @param id 护理计划主键
     * @return 结果
     */
    public int deleteNursingPlan_yyhById(Long id);

    /**
     * 批量删除护理计划
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNursingPlan_yyhByIds(Long[] ids);
}
